package data;

import org.newdawn.slick.Image;

/**
 *
 * @author JtR
 */
public class Level {
    private int width;
    private int height;
    private int startX;
    private int startY;
    private int goalX;
    private int goalY;
    private Image levelImage;

    public Level(int startX, int startY, int goalX, int goalY, Image levelImage) {
        this.startX = startX;
        this.startY = startY;
        this.goalX = goalX;
        this.goalY = goalY;
        this.levelImage = levelImage;
        this.width = levelImage.getWidth();
        this.height = levelImage.getHeight();
    }

    public int getGoalX() {
        return goalX;
    }

    public int getGoalY() {
        return goalY;
    }

    public int getStartX() {
        return startX;
    }

    public int getStartY() {
        return startY;
    }

    public void setGoalX(int goalX) {
        this.goalX = goalX;
    }

    public void setGoalY(int goalY) {
        this.goalY = goalY;
    }

    public void setStartX(int startX) {
        this.startX = startX;
    }

    public void setStartY(int startY) {
        this.startY = startY;
    }

    public Image getLevelImage() {
        return levelImage;
    }

    public void setLevelImage(Image levelImage) {
        this.levelImage = levelImage;
    }

    public int getHeight() {
        return height;
    }

    public int getWidth() {
        return width;
    }
}
